Function Summary | |
---|---|
cot_extension_add | Registers an extension in the core |
cot_extension_catcmp | Compares 2 extension info entries by category code. |
cot_extension_dependencies_statisfied | Checks if all dependencies for selected extension are satisfied. |
cot_extension_install | Installs or updates a Cotonti extension: module or plugin. |
cot_extension_installed | Checks if module is already installed |
cot_extension_list_info | Returns an array containing meta information for all extensions in a directory |
cot_extension_pause | Suspends (temporarily disables) a module |
cot_extension_remove | Unregisters a module from the core |
cot_extension_resume | Resumes a paused module |
cot_extension_type | Returns installed extension type: 'module' if extension is a module, 'plug' if extension is a plugin or FALSE if extension is not installed. |
cot_extension_uninstall | Uninstalls an extension and removes all its data |
cot_extension_update | Updates module version number in the registry |
cot_file_phpdoc | Parses PHPDoc file header into an array |
cot_infoget | Extract info from COT file headers |
cot_plugin_add | Registers a plugin or module in hook registry Example: $hook_bindings = array( array( 'part' => 'rss', 'hook' => 'rss.main', 'order' => 20 ), array( 'part' => 'header', 'hook' => 'header.tags', ) ); cot_plugin_add($hook_bindings, 'test', 'Test plugin', false); |
cot_plugin_pause | Suspends a plugin or one of its parts |
cot_plugin_remove | Removes a plugin or one of its parts from hook registry |
cot_plugin_resume | Resumes a suspended plugin or one of its parts |
Global Summary | |
---|---|
COT_EXT_NOTHING_TO_UPDATE | A value returned by cot_extension_install() when updating and there is nothing to update |